﻿using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.Options;
using Sustainalytics.Entities;
using System;
using System.Collections.Generic;

namespace Sustainalytics.ESG.Entities
{
    public class CompanyWeights : IEntity, IHasCompanyId
    {
        public Guid Id { get; set; }

        public Guid CompanyId { get; set; }

        public double? Indent { get; set; }

        public Guid MatrixId { get; set; }

        [BsonDictionaryOptions(Representation = DictionaryRepresentation.ArrayOfArrays)]
        public Dictionary<string, double> Weights { get; set; }
    }
}
